package io.mft.api.domain;

import java.io.Serializable;

import io.mft.commons.util.Unique;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

@Getter
@Setter
@Builder
public class ApiRegulation implements Unique,Serializable{
	 
	        /**
	 * @说明：TODO
	 * @字段名称 serialVersionUID
	        */  
	    
	private static final long serialVersionUID = 8162487702743266454L;
	private Regulation regulation;
	private int pos;
	@Override
	public String uniqueId() {
		String k=pos+"-"+regulation.uniqueId();
		return k;
	}
}
